package com.lnj.utils;

public class RedisKeys {
    // 订单支付二维码
    public static final String ORDER_PAY_QRCODE = "order:pay:QRCode:";
    // 商品信息
    public static final String PRODUCT_INFO = "product:info:";
    // 商品库存
    public static final String PRODUCT_STOCK = "product:stock:";
    //分类信息
    public static final String CATEGORY_INFO = "category:info:";

    //购物车
    public static final String CART_INFO = "cart:info:";
    // 商品浏览记录
    public static final String USER_VIEWS = "user:views:";
    // 商品购买记录
    public static final String USER_PURCHASES = "user:purchases:";
    public static final String PRODUCT_PAY = "product:pay:";//用来存储购买了的用户ID
    public static final String PRODUCT_CART = "product:cart:";//用来商品被加入购物车的用户ID
    public static final String PRODUCT_RECOMMEND = "product:recommend:";//用来存储商品被哪些用户浏览的ID
    // 用户的商品推荐
    public static final String USER_RECOMMEND = "user:recommend:";

    //优惠券数量
    public static final String COUPON_COUNT = "coupon:count:";
    //用户领取优惠券的数量
    public static final String COUPON_USER_COUNT = "coupon:user:count:";


}
